home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / EOFDirtyDoc / EOAssociationAdditions.m < prev    next >
Text File  |  1995-04-19  |  637b  |  26 lines

  1. /*
  2.  * EOAssociationAdditions.m
  3.  *
  4.  * You may freely copy, distribute, and reuse the code in this example.
  5.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  6.  * fitness for any particular use.
  7.  *
  8.  * Written by Kenny Leung, NeXT Technical Support
  9.  *
  10.  */
  11.  
  12. #import "EOAssociationAdditions.h"
  13. #import "ObjectAdditions.h"
  14.  
  15. @implementation EOAssociation(TextDelegation)
  16.  
  17. - (BOOL)textWillChange:sender
  18. {
  19.     if ( [[controller delegate] respondsToSelector:@selector(controller:associationDidBeginEditing:)] )
  20.         [[controller delegate] controller:controller associationDidBeginEditing:self];
  21.  
  22.     return NO;
  23. }
  24.  
  25. @end
  26.